﻿using System.Web.Mvc;

namespace Web.Areas.ManagerArea
{
    public class ManagerAreaAreaRegistration : AreaRegistration 
    {
        public override string AreaName => "ManagerArea";

        public override void RegisterArea(AreaRegistrationContext context) 
        {
            context.MapRoute(
                "ManagerArea_default",
                "ManagerArea/{controller}/{action}/{id}",
                new { action = "Index", id = UrlParameter.Optional },
                new[] { "Web.Areas.ManagerArea.Controllers" }
            );
        }
    }
}